﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RFIDStockManagement.Common.Public
{
    /// <summary>
    /// 用于存储常量
    /// </summary>
    public static class PublicConst
    {
        public static readonly string ShortDayFormater = "yyyy-MM-dd";
        public static readonly string LongTimeFormater = "yyyy-MM-dd HH:mm:ss";
        public static readonly string ShortTimeFormater = "yy-MM-dd HH:mm:ss";
        public static readonly long SelectTopCount = 1000;

        /// <summary>
        /// 标签最大位数（16进制）
        /// </summary>
        public static readonly int TagMaxBit = 24;
        /// <summary>
        /// 标签的系统标识位（16进制）
        /// </summary>
        public static readonly int TagSysMarkBit = 4;
        /// <summary>
        /// 标签的系统标识
        /// </summary>
        public static readonly string TagSysMark = "FA78";
        /// <summary>
        /// 标签的物料标识位（16进制）
        /// </summary>
        public static readonly int TagItemBit = 6;
        /// <summary>
        /// 标签的单位标识位（16进制）
        /// </summary>
        public static readonly int TagUnitBit = 6;
        /// <summary>
        /// 标签的物料唯一标识位（16进制）
        /// </summary>
        public static readonly int TagItemGuidBit = 8;

    }
}
